package com.letoken.platform.repo.app.res.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.repo.mall.po.AppMallOrderInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author letokenlabs
 * @date 2022/12/3
 */
@Data
@ApiModel(value = "店铺订单返回对象", description = "店铺订单返回对象")
public class QueryMallOrderHistoryRes {

    private Integer id;

    private Integer userId;

    @ApiModelProperty(value = "店铺id")
    private Integer mallId;

    @ApiModelProperty(value = "消费金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "0.待评价 1已评价")
    private Integer state;

    @ApiModelProperty(value = "1.交易，2.提现")
    private Integer type;

    @ApiModelProperty(value = "收入:1 支出:2")
    private Integer inOut;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "手续费/折损")
    private BigDecimal fee;

    @ApiModelProperty(value = "唯一流水号")
    private String seqNo;

    private LocalDateTime createTime;


}
